Contains<TService> Method

Summary
Checks whether a service of a given type exists in the collection.
Syntax
C#
VB
C++
public bool Contains<TService>() 
  
Public Function Contains(Of TService)() As Boolean 
public: 
bool Containsgeneric<typename TService> 
();  

Type Parameters

TService
The type of the service to check for.

Return Value

true if a service object exists with the provided type; otherwise, it is false.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Workstation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.